package com.ruoyi.platform.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 m_execute_command_result
 * 
 * @author dataControl
 * @date 2025-09-15
 */
public class MExecuteCommandResult implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 系统编号 */
    private Long commandResultId;

    /** 执行指令记录ID */
    @Excel(name = "执行指令记录ID")
    private Long commandId;

    /** 指令执行开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "指令执行开始时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date executeStartTime;

    /** 指令执行结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "指令执行结束时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date executeEndTime;

    /** 指令行状态 */
    @Excel(name = "指令行状态")
    private Integer executionStatus;

    /** 执行结果信息 */
    @Excel(name = "执行结果信息")
    private String content;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date createDate;

    public void setCommandResultId(Long commandResultId)
    {
        this.commandResultId = commandResultId;
    }

    public Long getCommandResultId()
    {
        return commandResultId;
    }

    public void setCommandId(Long commandId)
    {
        this.commandId = commandId;
    }

    public Long getCommandId()
    {
        return commandId;
    }

    public void setExecuteStartTime(Date executeStartTime) 
    {
        this.executeStartTime = executeStartTime;
    }

    public Date getExecuteStartTime() 
    {
        return executeStartTime;
    }

    public void setExecuteEndTime(Date executeEndTime) 
    {
        this.executeEndTime = executeEndTime;
    }

    public Date getExecuteEndTime() 
    {
        return executeEndTime;
    }

    public void setExecutionStatus(Integer executionStatus)
    {
        this.executionStatus = executionStatus;
    }

    public Integer getExecutionStatus()
    {
        return executionStatus;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commandResultId", getCommandResultId())
            .append("commandId", getCommandId())
            .append("executeStartTime", getExecuteStartTime())
            .append("executeEndTime", getExecuteEndTime())
            .append("executionStatus", getExecutionStatus())
            .append("content", getContent())
            .append("createDate", getCreateDate())
            .toString();
    }
}
